#ifndef LIFTSTRETCH_H
#define LIFTSTRETCH_H
#include "DJI/M3508.h"
using MM::M3508s;
using std::optional,std::nullopt;
using std::array;

class LiftStretch {
public:
    static LiftStretch &getInstance();

    void posVelControl(float liftPos = 0, float liftVel = 0, float stretchPos = 0, float stretchVel = 0);

    LiftStretch(LiftStretch &) = delete;

    LiftStretch(LiftStretch &&) = delete;

    LiftStretch &operator=(LiftStretch &) = delete;

    LiftStretch &operator=(LiftStretch &&) = delete;

private:
    M3508s m3508s;

    static LiftStretch _instance;

    LiftStretch();
};


#endif //LIFTSTRETCH_H
